package com.scm.entity;

/**
 * @author CHL
 * @ClassName: PayRecord
 * @Description: TODO
 * @date 2022/3/8 15:08
 * @Version 1.0
 */
public class PayRecord
{
    private Integer recordId;
    private String payTime;
    private Double payPrice;
    private String account;
    private String ordercode;
    private Integer payType;

    public void setRecordId(Integer recordId)
    {
        this.recordId = recordId;
    }

    public void setPayTime(String payTime)
    {
        this.payTime = payTime;
    }

    public void setPayPrice(Double payPrice)
    {
        this.payPrice = payPrice;
    }

    public void setAccount(String account)
    {
        this.account = account;
    }

    public void setOrdercode(String ordercode)
    {
        this.ordercode = ordercode;
    }

    public void setPayType(Integer payType)
    {
        this.payType = payType;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PayRecord)) {
            return false;
        }
        PayRecord other = (PayRecord)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$recordId = getRecordId();Object other$recordId = other.getRecordId();
        if (this$recordId == null ? other$recordId != null : !this$recordId.equals(other$recordId)) {
            return false;
        }
        Object this$payPrice = getPayPrice();Object other$payPrice = other.getPayPrice();
        if (this$payPrice == null ? other$payPrice != null : !this$payPrice.equals(other$payPrice)) {
            return false;
        }
        Object this$payType = getPayType();Object other$payType = other.getPayType();
        if (this$payType == null ? other$payType != null : !this$payType.equals(other$payType)) {
            return false;
        }
        Object this$payTime = getPayTime();Object other$payTime = other.getPayTime();
        if (this$payTime == null ? other$payTime != null : !this$payTime.equals(other$payTime)) {
            return false;
        }
        Object this$account = getAccount();Object other$account = other.getAccount();
        if (this$account == null ? other$account != null : !this$account.equals(other$account)) {
            return false;
        }
        Object this$ordercode = getOrdercode();Object other$ordercode = other.getOrdercode();return this$ordercode == null ? other$ordercode == null : this$ordercode.equals(other$ordercode);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof PayRecord;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $recordId = getRecordId();result = result * 59 + ($recordId == null ? 43 : $recordId.hashCode());Object $payPrice = getPayPrice();result = result * 59 + ($payPrice == null ? 43 : $payPrice.hashCode());Object $payType = getPayType();result = result * 59 + ($payType == null ? 43 : $payType.hashCode());Object $payTime = getPayTime();result = result * 59 + ($payTime == null ? 43 : $payTime.hashCode());Object $account = getAccount();result = result * 59 + ($account == null ? 43 : $account.hashCode());Object $ordercode = getOrdercode();result = result * 59 + ($ordercode == null ? 43 : $ordercode.hashCode());return result;
    }

    public String toString()
    {
        return "PayRecord(recordId=" + getRecordId() + ", payTime=" + getPayTime() + ", payPrice=" + getPayPrice() + ", account=" + getAccount() + ", ordercode=" + getOrdercode() + ", payType=" + getPayType() + ")";
    }

    public Integer getRecordId()
    {
        return this.recordId;
    }

    public String getPayTime()
    {
        return this.payTime;
    }

    public Double getPayPrice()
    {
        return this.payPrice;
    }

    public String getAccount()
    {
        return this.account;
    }

    public String getOrdercode()
    {
        return this.ordercode;
    }

    public Integer getPayType()
    {
        return this.payType;
    }
}

